/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pe.gov.mtc.dgac.licencias.persistence;

import java.util.HashMap;
import java.util.List;
import pe.gov.mtc.dgac.licencias.bean.ClienteTO;
import pe.gov.mtc.dgac.licencias.exception.TransactionException;
import pe.gov.mtc.dgac.licencias.util.Page;

/**
 *
 * @author German
 */
public interface ClienteDAO {
    
    public List<ClienteTO> buscarCliente(ClienteTO cliente) throws TransactionException;
    public Page buscarCliente(ClienteTO cliente,int page,int pageSize) throws TransactionException;
    public HashMap insertCliente(ClienteTO cliente) throws TransactionException;
    public HashMap updateCliente(ClienteTO cliente) throws TransactionException;
}
